#ifndef _24CXX_H
#define	_24CXX_H

#include "stm32f10x.h"
#include "iic.h"
void at24cxx_init(void);
u8 at24cxx_read_byte(u16 addr);
u8 at24cxx_read(u16 addr, u8 *buff, u16 cnt);
u8 at24cxx_write_byte(u16 addr, u8 data);
u8 at24cxx_write(u16 addr, u8 *buff, u16 cnt);
#endif
